package com.wanghlme.exercise05.dao;

import com.wanghlme.exercise05.pojo.Emp;

import java.util.List;

public interface IEmpDao {
    Emp queryEmpByLogin(String username, String password);

    List<Emp> listAllEmployee();

    int saveEmp(Emp emp);

    int delEmp(Integer id);

    Emp queryOneById(Integer id);
}
